package com.cl.springes.po;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;

/**
 * @program: test_es
 * @description:
 * @author: 陈亮
 * @create: 2022-03-07 22:42
 */
@Data
@Document(indexName = "apple")
public class Apple implements Serializable {


    @Id
    private Long id;

    private String name;

    private String price;
}
